package com.kmxd.ams.client.arrange.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 关联档案-关联数据
 *
 * @author nickbi
 */
@Schema(description = "关联档案-关联数据")
@Data
public class AssociatedWithDataDTO implements Serializable {

  @Schema(description = "数据id")
  @NotNull(message = "数据id不能为空")
  private Long id;

  @Schema(description = "数据门类")
  @NotNull(message = "门类不能为空")
  private Long archTypeId;

  @Schema(description = "表名")
  @NotNull(message = "表名不能为空")
  private String tableId;

  @Schema(description = "关联数据id")
  @NotNull(message = "关联数据id不能为空")
  private String docIds;

  @Schema(description = "关联数据门类")
  @NotNull(message = "关联门类不能为空")
  private Long referArchTypeId;

  @Schema(description = "关联表名")
  @NotNull(message = "关联表名不能为空")
  private String referTableId;
}
